package com.mingqijia.gassafety.webserver.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DisposeRecordResponse {

    @ApiModelProperty(value = "报警开始时间：格式-2022-01-21 11:26:56")
    private Date warningStartTime;

    @ApiModelProperty(value = "浓度值")
    private String concentration;

    @ApiModelProperty(value = "报警持续时长:例子-00:00:30")
    private String warningDuration;

    @ApiModelProperty(value = "外呼处理状态：0未处理 1已处理 2已手动外呼 3短信通知")
    private Integer disposeStatus;

    @ApiModelProperty(value = "忽略原因")
    private String reason;

    @ApiModelProperty(value = "处理时间")
    private String disposeTime;

    @ApiModelProperty(value = "通知对象类型：-1 本地消息 0客户联系人 1 企业员工 2 微信（openId）3 手动填写")
    private Integer notifyObjType;

    @ApiModelProperty(value = "通知对象级别")
    private Integer objLevel;

    @ApiModelProperty(value = "手机号")
    private String pushPhone;

    @ApiModelProperty(value = "发送结果：0发送成功，1发送失败")
    private Integer sendResult;

    @ApiModelProperty(value = "发送时间")
    private Date sendTime;

    @ApiModelProperty(value = "发送失败原因")
    private String remark;

    /**
     * 发起操作人姓名（账号）
     */
    @ApiModelProperty("发起操作人姓名（账号）")
    private String operatorBy = "";

    @ApiModelProperty(value = "记录id")
    private Long id;

    @ApiModelProperty(value = "树形结构")
    private List<DisposeRecordResponse> children;
}
